<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
	<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ request.getContextPath() + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%= basePath %>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>杰普信息管理系统</title>
<link rel="stylesheet" type="text/css" href="theme/1/css/common.css">
<link rel="stylesheet" type="text/css"
	href="theme/1/css/front/style.css">
</head>

<body>
	<div id="main">
		<jsp:include page="include/header.jsp"></jsp:include>
		<div class="content">
			<div class="congw">
				<div class="conarticle">
					<div class="position">
						<span class="poshome">您现在的位置：</span> <a href="jsp/to_index_Servlet">首页</a>
						>> <a href="jsp/toList_Servlet?id=${article.category_id }">
							${category.name} </a>
					</div>
					<div class="title">${article.title }</div>
					<div class="abstract">
						<span>更新时间：<fmt:formatDate value="${article.publisurdate }" pattern="yy/MM/dd H:m" /></span> <span>发布人：${article.author }</span>
						<span>点击${article.clicktimes }次</span>
					</div>
					<div class="details">
						<p>${article.content }</p>
					</div>
				</div>
				<div class="link">
					<div class="linelink">
						<span>友情链接：</span>
					
							
							<c:forEach var="link" items="${sessionScope.links}">
                				<a name="link_a" href="javascript:void(0)" title="${link.url}"  url="${link.url}">${link.name}</a>
                			</c:forEach>
					</div>
				</div>
			</div>
		</div>
		<jsp:include page="include/footer.jsp"></jsp:include>
	</div>
</body>
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		$("a[name='link_a']").on("click",function(){
			window.open('http:///'+$(this).attr('url'));
		}) ;
		return false ;
	}) ;
</script>
</html>